﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BookCaching.Data
{
    public class Author
    {
        public int Id { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }

        public Author(Knihotoc_WCFService.Author author)
        {
            FirstName = author.FirstName;
            LastName = author.Lastname;
            Id = author.ID;
        }

        public string FullName { get { return FirstName + " " + LastName; } }
    }
}
